package core.base;

import java.util.Calendar;

public interface TimeService {

	public long currentTimeMillis();

	public Calendar getNowCalendar();

	public java.util.Date getNow();

	public boolean isYearFirstDay(Calendar cal);

	public boolean isMonthFirstDay(Calendar cal);

	public boolean isQuarterFirstDay(Calendar cal);

	public boolean isWeeklyFirstDay(Calendar cal);

	public boolean isDailyTrigger(String triggerTime, java.util.Date lastTriggerTime, java.util.Date now);
}
